package com.hoppinzq.service;

import com.hoppinzq.service.annotation.ServiceRegister;
import com.hoppinzq.service.annotation.ServiceRegisterMethod;
import com.hoppinzq.service.modification.SetterModificationManager;
import com.hoppinzq.service.service.HelloService;

import java.io.IOException;
import java.io.InputStream;


@ServiceRegister(title = "asda",description = "asdasd",modification= SetterModificationManager.class)
public class HelloServiceImpl implements HelloService {
    @Override
    @ServiceRegisterMethod(title = "说你好",description = "zxc",isShow = true)
    public String sayHello(String name) {
        return "hello:"+name;
    }

    @Override
    @ServiceRegisterMethod(title = "ok",description = "qwe",isShow = true)
    public String sendLargeStream(InputStream in) throws IOException {
        return null;
    }
}

